Sory for bumping old topic but i've encountered the same problem. For people that may have the same problem in the future i think starting script is bust.
To repair it i've created a new script: /home/pi/.scummvm/start.sh
with content:
#!/bin/bash
game="$1"
while read id; do
echo "$id"
done < "/home/pi/RetroPie/roms/scummvm/$game.svm"
/opt/retropie/emulators/scummvm/bin/scummvm --fullscreen --joystick=0 --extrapath="/opt/retropie/emulators/scummvm/extra/" --path="/home/pi/RetroPie/roms/scummvm/$game/" $id
and changed content of /opt/retropie/configs/scummvm/emulators.cfg
to:
scummvm = "bash /home/pi/RetroPie/roms/scummvm/+Start\ ScummVM.sh %BASENAME%"
scummvm-game = "bash /home/pi/.scummvm/start.sh %BASENAME%"
default = "scummvm-game"
.svm files cannot have "newline" character at the end of game name.
Hope this will help people in the future.